package com.weiadmin.model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 功能描述
 *
 * @author: shizhongyu
 * @date: 2023年04月02日 14:33
 */
@Data
public class Student {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer age;
    private String email;
    private Long managerId;
    @TableField(fill = FieldFill.INSERT) // 插入时自动填充
    private LocalDateTime createTime;

    @TableField(fill=FieldFill.UPDATE)
    private LocalDateTime updateTime;
}
